import { request } from "./request.js";

export function addRoles(roleName,roleDesc) {
  return request({
    method: "post",
    url: "/roles",
    data:{
      roleName:roleName,
      roleDesc:roleDesc
    }
  });
}